#include <boost/program_options.hpp>
#include <string>
#include "LogMessage.h"
#include <boost/pool/detail/singleton.hpp>

using boost::details::pool::singleton_default;

class LoadConfig
{

public:

	LoadConfig();

	~LoadConfig();

	bool load_config(std::string file_name);

	DECL_LOGGER(logger);
		
protected:
	
private:
	
public:
	
	std::string m_file_name;
	
	std::string m_server_ip;
	uint32_t m_server_port;

	int32_t m_listen_block;

	uint32_t m_socket_timeout_sec;

	uint32_t m_client_cmd_recv_thread_num;

	
};

typedef singleton_default<LoadConfig> g_LoadConfig_Mgr;

